package work;

import java.util.HashMap;
import java.util.Set;

class Interest {
	public double weight;
	public long min;
	public long max;
}
public class Event {
	HashMap <String, Interest> interests;

  public Event() {
  	interests = new HashMap <String, Interest>();
  }

  public HashMap <String, Interest> getInterests() {
  	return interests;
  }

  public Interest get(String type) {
  	return interests.get(type);
  }

  public void addInterest(String name, Interest interest) {
  	interests.put(name, interest);
  }
  
  public Set <String> interestList () {
	  return interests.keySet();
  }
}